const TOKEN_key = 'token'

const setToken = (data) => {
  localStorage.setItem(TOKEN_key, data)
}

const getToken = () => {
 return localStorage.getItem(TOKEN_key)
}

const removeToken = () => {
  localStorage.removeItem(TOKEN_key)
}

export { setToken, getToken, removeToken }